|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--shout3d.core.Node | +--shout3d.core.Group
A Group.
Field Summary | |
NodeArrayField |
children
|
Node[] |
defaultChildArray
|
BooleanField |
hidden
|
Constructor Summary | |
Group()
Constructs a default Group |
Method Summary | |
void |
addChildren(Node[] nodesToAdd)
Adds children to this Group Node. |
float[] |
getCameraBBoxMax(Node[] pathToViewpoint,
Node[] pathToGroup)
Returns the current camera-space bounding box max, as an array of 3 values. |
float[] |
getCameraBBoxMin(Node[] pathToViewpoint,
Node[] pathToGroup)
Returns the current camera-space bounding box min, as an array of 3 values. |
float[] |
getInverseMatrix()
Gets the 4x4 matrix equal to the inverse of this Transform. |
float[] |
getLocalBBoxMax()
Returns the current local-space bbox max, and array of 3 values |
float[] |
getLocalBBoxMin()
Returns the current local-space bbox min, and array of 3 values |
float[] |
getMatrix()
Gets the 4x4 matrix that transforms from local to parent space, based on current field values |
float[] |
getWorldBBoxMax(Node[] pathToGroup)
Returns the current world-space bounding box min, as an array of 3 values. |
float[] |
getWorldBBoxMin(Node[] pathToGroup)
Returns the current world-space bounding box min, as an array of 3 values. |
void |
removeChildren(Node[] nodesToRemove)
Removes children from this Group Node. |
Methods inherited from class shout3d.core.Node |
cleanUp,
getDEFName,
getField,
getFieldByIndex,
getFieldName,
getNumFields,
getTypeName,
getViewer,
isOfType,
setDEFName,
setViewer |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public final Node[] defaultChildArray
public final NodeArrayField children
public final BooleanField hidden
Constructor Detail |
public Group()
Method Detail |
public float[] getMatrix()
public float[] getInverseMatrix()
public void addChildren(Node[] nodesToAdd)
nodesToAdd
- the Nodes to be addedpublic void removeChildren(Node[] nodesToRemove)
nodesToRemove
- the Nodes to be removedpublic float[] getLocalBBoxMin()
public float[] getLocalBBoxMax()
public float[] getWorldBBoxMin(Node[] pathToGroup)
pathToGroup
- a path from the root of the scene to this nodepublic float[] getWorldBBoxMax(Node[] pathToGroup)
pathToGroup
- a path from the root of the scene to this nodepublic float[] getCameraBBoxMin(Node[] pathToViewpoint, Node[] pathToGroup)
pathToViewpoint
- a path from the root of the scene to ViewpointpathToGroup
- a path from the root of the scene to this nodepublic float[] getCameraBBoxMax(Node[] pathToViewpoint, Node[] pathToGroup)
pathToViewpoint
- a path from the root of the scene to ViewpointpathToGroup
- a path from the root of the scene to this node
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |